package com.openroom.model;

import java.io.File;

public class Folder {
    private Long folderId;
    private String folderName;
    private String localPath;
    private int lastRating;
    
    public Folder() {
    }

    public Folder(String path) {
        File file = new File(path);
        this.folderName = file.getName();
        this.localPath = path;
    }

    public Long getFolderId() {
        return folderId;
    }

    public void setFolderId(Long folderId) {
        this.folderId = folderId;
    }

    public String getFolderName() {
        return folderName;
    }

    public void setFolderName(String folderName) {
        this.folderName = folderName;
    }

    public String getLocalPath() {
        return localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }

    public int getLastRating() {
        return lastRating;
    }

    public void setLastRating(int lastRating) {
        this.lastRating = lastRating;
    }

}
